using BackData;
using Domain.DTOs.Quality;
using MediatR;

namespace Team.API.Applocation.Command.Quality
{
    /// <summary>
    /// 编辑质检工单的命令类
    /// </summary>
    public class UpdateQualityCommand : IRequest<APIResult<int>>
    {
        /// <summary>
        /// 质检工单ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        public string RealName { get; set; }

        /// <summary>
        /// 质检实体
        /// </summary>
        public QualityDto QualityDto { get; set; }
    }
}
